YES 0.435 H-Termination proof of /home/matraf/haskell/eval_FullyBlown_Fast/Monad.hs
H-Termination of the given Haskell-Program with start terms could successfully be proven:



HASKELL
  ↳ LR

mainModule Monad
  ((liftM :: (a  ->  b ->  IO a  ->  IO b) :: (a  ->  b ->  IO a  ->  IO b)

module Monad where
  import qualified Maybe
import qualified Prelude

  liftM :: Monad b => (a  ->  c ->  b a  ->  b c
liftM f m1 m1 >>= (\x1 ->return (f x1))


module Maybe where
  import qualified Monad
import qualified Prelude



Lambda Reductions:
The following Lambda expression
\x1return (f x1)

is transformed to
liftM0 f x1 = return (f x1)



↳ HASKELL
  ↳ LR
HASKELL
      ↳ BR

mainModule Monad
  ((liftM :: (b  ->  a ->  IO b  ->  IO a) :: (b  ->  a ->  IO b  ->  IO a)

module Maybe where
  import qualified Monad
import qualified Prelude


module Monad where
  import qualified Maybe
import qualified Prelude

  liftM :: Monad b => (a  ->  c ->  b a  ->  b c
liftM f m1 m1 >>= liftM0 f

  
liftM0 f x1 return (f x1)



Replaced joker patterns by fresh variables and removed binding patterns.

↳ HASKELL
  ↳ LR
    ↳ HASKELL
      ↳ BR
HASKELL
          ↳ COR

mainModule Monad
  ((liftM :: (b  ->  a ->  IO b  ->  IO a) :: (b  ->  a ->  IO b  ->  IO a)

module Monad where
  import qualified Maybe
import qualified Prelude

  liftM :: Monad b => (a  ->  c ->  b a  ->  b c
liftM f m1 m1 >>= liftM0 f

  
liftM0 f x1 return (f x1)


module Maybe where
  import qualified Monad
import qualified Prelude



Cond Reductions:
The following Function with conditions
undefined 
 | False
 = undefined

is transformed to
undefined  = undefined1

undefined0 True = undefined

undefined1  = undefined0 False



↳ HASKELL
  ↳ LR
    ↳ HASKELL
      ↳ BR
        ↳ HASKELL
          ↳ COR
HASKELL
              ↳ Narrow

mainModule Monad
  (liftM :: (b  ->  a ->  IO b  ->  IO a)

module Maybe where
  import qualified Monad
import qualified Prelude


module Monad where
  import qualified Maybe
import qualified Prelude

  liftM :: Monad b => (a  ->  c ->  b a  ->  b c
liftM f m1 m1 >>= liftM0 f

  
liftM0 f x1 return (f x1)



Haskell To QDPs